//package com.baidu.travel.logs.controller;
//
//import com.baidu.travel.logs.OperLog;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.servlet.http.HttpServletRequest;
//
//@RequestMapping("/login")
//@RestController
//public class LoginController {
//
//    @GetMapping("/test")
//    @OperLog(operModul = "登录模块",operType = "登录",operDesc = "用户登录功能")
//    public String test(String name, HttpServletRequest request){
//        request.getSession().setAttribute("name", name);
//        return "test";
//    }
//}
